<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:s="http://jboss.com/products/seam/taglib"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:a4j="http://richfaces.org/a4j"
                xmlns:rich="http://richfaces.org/rich">
    <a4j:status onstart="Richfaces.showModalPanel('ajaxLoadingModalBox',{width:450, top:200})" onstop="Richfaces.hideModalPanel('ajaxLoadingModalBox')">
    </a4j:status>
    <rich:modalPanel id="ajaxLoadingModalBox" minHeight="75" minWidth="250" height="75" width="250" zindex="2000">
        <f:facet name="header">
            <h:outputText value="#{messages['state.xhtml.title']}" />
        </f:facet>
        <s:div styleClass="fieldset-fake-inner-block">
	        <s:div styleClass="ajaxLoadingModalBox-loader">
	          <h:graphicImage value="/img/ajax-loader.gif" styleClass="ajaxLoadingModalBox-loader" />
	        </s:div>
	        <s:div styleClass="ajaxLoadingModalBox-text">
	          <h:outputText value="#{messages['state.xhtml.message']}" />
	        </s:div>
        </s:div>
    </rich:modalPanel>
</ui:composition>